/*
** my_evil_str.c for  in /home/gueux_g/piscine/Jour_04
**
** Made by gregory gueux
** Login   <gueux_g@epitech.net>
**
** Started on  Thu Oct  4 12:10:11 2012 gregory gueux
** Last update Wed Oct 10 15:16:40 2012 gregory gueux
*/

char		*my_evil_str(char *str)
{
  int		begin;
  int		end;
  char		c;

  begin = 0;
  end = 0;
  while (str[end])
    end = end + 1;
  end = end - 1;
  while (begin <= end /2)
    {
      c = str[begin];
      str[begin] = str[end];
      str[end] = c;
      begin = begin + 1;
      end = end - 1;
    }
}
